<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:s="http://jboss.com/products/seam/taglib"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:rich="http://richfaces.org/rich"
                template="#{theme.template}">
                

	<ui:define name="body">
   	  <rich:panel>
   	  	<f:facet name="header">Sign Up</f:facet>
   	  	<h:form>
			<s:decorate>
				<h:outputLabel value="#{messages['register.name']}" for="name" />
				<h:inputText id="name" value="#{account.name}"/>
			</s:decorate>
			<s:decorate>
				<h:outputLabel value="#{messages['register.username']}" for="username" />
				<h:inputText id="username" value="#{user.username}"/>			
			</s:decorate>
			<s:decorate>			
				<h:outputLabel value="#{messages['register.password']}" for="password" />
				<h:inputText id="password" value="#{user.password}"/>
			</s:decorate>			
			<div class="actions">
				<h:commandButton value="Registrarse" action="#{register.registrar}"/>
			</div>
		</h:form>
	  </rich:panel>
	</ui:define>
	                
</ui:composition>